<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>卡片</title>
    <style>
        body {
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            background: linear-gradient(to bottom, rgb(0, 191, 255), white);
            height: 100vh;
        }

        .container {
            width: 1000px;
            height: 300px;
            /* outline: 1px solid red; */
            display: flex;

        }

        .card {
            flex: 1;
            text-align: center;
            /* outline: 1px solid black; */
            padding: 20px;
            background-color: #fff;
            transition: transform 0.5s;
            position: relative;

        }

        .card h2 {
            font: bold 3em 'Poppins', sans-serif;
        }

        .card a {
            /* width: 85px;
            height: 30px; */
            display: inline-block;
            text-decoration: none;
            padding: 5px 10px;
            background: #262626;
            color: #fff;
        }
        .card::before{
            content: '';
            display: block;
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            z-index: -2;
            background-color: #fff;
            transition:0.5s ;
        }
        .container:hover .card {
            filter: blur(5px);
            transform:  scale(0.8);
        }

        .container .card:hover {
            background: #000;
            transform: scale(1) ;
            filter: blur(0px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
            color: white;
        }
        .container .card:hover::before{
            background-color: #000;
            transform: scaleY(1.15);
        }
        .container .card:hover a{
            background-color: #2196f3;
            color: white;
        }
        
    </style>
</head>

<body>
    <div class="container">
        <div class="card">
            <h2>1</h2>
            <p>Lorem ipsum dolor sit ame, consectetur adipisicing elit</p>
            <a href="#">Read More</a>
        </div>
        <div class="card">
            <h2>2</h2>
            <p>Lorem ipsum dolor sit ame, consectetur adipisicing elit</p>
            <a href="#">Read More</a>
        </div>
        <div class="card">
            <h2>3</h2>
            <p>Lorem ipsum dolor sit ame, consectetur adipisicing elit</p>
            <a href="#">Read More</a>
        </div>
        <div class="card">
            <h2>4</h2>
            <p>Lorem ipsum dolor sit ame, consectetur adipisicing elit</p>
            <a href="#">Read More</a>
        </div>
    </div>
</body>

</html>